package single;

public class LazySingle {
    private static LazySingle instance;

    private LazySingle() {
    }

    public static synchronized LazySingle getInstance() {
        if (instance == null) {
            instance = new LazySingle();
        }
        return instance;
    }
}
